﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///DateFormat 的摘要说明
/// </summary>
public class DateFormat
{
    public static string BeginOverDate(DateTime _beginDate, DateTime _overDate)
    {
        string _b, _o;
        _b = _beginDate.Year + "年" + _beginDate.Month + "月-";
        if (_overDate == DateTime.MinValue)
            _o = "现在";
        else
            _o = _overDate.Year + "年" + _overDate.Month + "月";

        return _b + _o;
    }
}
